Classifier


The graph on the left shows the performance of a random-forest classifier trying to distinguish the three artists. Using all features, the most important are listed below:

The classifier also found that some of the chroma are important during classification: c02, c05, c06 and c11. All these features were used to train the random-forest classifier eventually used.

Overall, the classifier performs really well.

Introduction

For years on end my most listened to genre in my Spotify Wrapped has been rock music. Not surprising, since a large part of my personal playlists contain this genre. When looking at this, there is a really wide range of different time periods of rock music in my playlists. This got me thinking about what the differences between rock music in different time periods might be. The main focus of this portfolio will thus be on this comparison.

At first the plan was to look at rock as a whole for this comparison, but I soon found out that this would make the comparisons way to brought. This is why I narrowed the corpus down to three bands that each was very influential in their time: The Beatles in the 60’s, Nirvana in the 80’s/90’s and Coldplay in the modern era.

The corpus used for this portfolio consists of three playlists, one for each band:

The tracks of these playlists come from a selection of Spotify for each band. I copied those to my own playlists and removed the live versions.

What is the difference is tempo?


The plot on the left shows how the bands differ in the tempo of their tracks. What strikes out first is that the tracks of Nirvana overall have a much higher tempo then both other bands. The median tempo of Nirvana is about 6.5% higher. This difference is even biggest in the top 50 percentile. This was expected beforehand, since Nirvana is known for its high energy music.

What was not expected however, is the great similarity of tempo of The Beatles and Coldplay. The boxplots of both bands on the left is near identical, where q1, q2 and the median are almost identical. It was expected beforehand that the difference in tempo would be a bit more noticeable.

Chromagram and Cepstrogram


Self-Simularity Matrices


Track-Level Analyses: Tempo, Volume and Duration


The plot on the left gives a more detailed look of the tempo graph made earlier. Here we can see that indeed tracks of Nirvana have a higher tempo and that the tracks of Coldplay and The Beatles are roughly equally distributed.

What is now also interesting to see is the standard deviation of the tempo for each track. There now seems to be a difference in tempo between The Beatles and Coldplay. According to the graph, The Beatles have more variation of tempo within their tracks then Coldplay. When we keep looking at the standard deviation of tempo, Nirvana seems to also be higher in this regard in comparison to the other two bands.